package org.hashdb.client.net.bio.get;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hashdb.client.net.bio.MessageType;
import org.hashdb.client.net.bio.msg.Message;

/**
 * Date: 2023/12/1 16:19
 *
 * @author huanyuMake-pecdle
 * @version 0.0.1
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ErrorMessage extends Message {

    private String error;

    private String cause;

    @Override
    public MessageType getType() {
        return MessageType.ERROR;
    }
}
